# a simple (naive) multiply test.
	
		
	lui	$t0, 0xFFFF		# $t0 = -> mmio

loop:	lw	$t1, 0x40($t0)	# $t1 = sw
	andi	$t2, $t1, 0x00FF# $t2 = sw[7:0]
	srl	$t1, $t1 , 8	# $t1 = sw[15:8]
	
	sw	$t1, 0x100($t0) # math.mult_in_1 = $t1 = sw[15:8]
	sw	$t2, 0x104($t0) # math.mult_in_2 = $t2 = sw[7:0]
	
	lw	$t3, 0x108($t0) # $t3 = math.mult_out_lo[15:0]
	
	sw	$t3, 0x0($t0)	# leds = $t3 = math.mult_out_lo[15:0]
	
	j loop
	
	